home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / BORLAND TURBO / BATCH.PAK / BATCHVW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.8 KB  |  64 lines

  1. /**************************************************************************
  2.  *
  3.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6.  *  PURPOSE.
  7.  *
  8.  *  Copyright (c) 1994 - 1995    Microsoft Corporation.    All Rights Reserved.
  9.  *
  10.  **************************************************************************/
  11. // batchvw.h : interface of the CBatchView class
  12. //
  13. /////////////////////////////////////////////////////////////////////////////
  14.  
  15. class CBatchView : public CView
  16. {
  17. protected: // create from serialization only
  18.     CBatchView();
  19.     DECLARE_DYNCREATE(CBatchView)
  20.  
  21. // Attributes
  22. public:
  23.     CBatchDoc* GetDocument();
  24.     
  25. // Operations
  26. public:
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CBatchView)
  31.     public:
  32.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  33.     virtual void OnInitialUpdate();
  34.     protected:
  35.     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  36.     virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. public:
  41.     virtual ~CBatchView();
  42. #ifdef _DEBUG
  43.     virtual void AssertValid() const;
  44.     virtual void Dump(CDumpContext& dc) const;
  45. #endif
  46.  
  47. protected:
  48.  
  49. // Generated message map functions
  50. protected:
  51.     //{{AFX_MSG(CBatchView)
  52.     afx_msg void OnDropFiles(HDROP hDropInfo);
  53.     afx_msg void OnSize(UINT nType, int cx, int cy);
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. #ifndef _DEBUG  // debug version in batchvw.cpp
  59. inline CBatchDoc* CBatchView::GetDocument()
  60.    { return (CBatchDoc*)m_pDocument; }
  61. #endif
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.